import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import "./assets/css/base.css";
import "./assets/css/main.less";

import BaseDirective from "./directive";
import { setupStore } from "@/pinia";
// import { createPinia } from 'pinia'
// import 'vant/lib/index.css';
import "vant/es/dialog/style";
import "vant/es/toast/style";

// import 'vant/es/nav-bar/style';  // 使用了 tsx

const app = createApp(App);

app.use(BaseDirective);
setupStore(app);

app.use(router).mount("#app");
